<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="renderer" content="webkit">
    <meta name="keywords" content="渠道入驻,苏e融,南京荣勋,荣勋,金融信息服务，互联网金融">
    <meta name="description" content="苏e融一站式信息咨询服务平台，不收取任何手续费，专业信息咨询顾问还将为您提供海量产品，同时客服全程一对一跟踪，为您提供优选产品和优质服务。">
    <title>专业的信息咨询服务平台-苏e融</title>
    <link href="/assets/css/global.css" rel="stylesheet">
    <link href="/assets/css/common.css" rel="stylesheet">
    <link href="/assets/css/my/iconfont.css" rel="stylesheet">
    <link href="/assets/css/main.css" rel="stylesheet">
    <link rel="shortcut icon" href="http://img0.rongsue.com/images/favicon.ico?imageView2/2/w/80/h/80/interlace/1/q/100">
    <link rel="stylesheet" href="/assets/css/news/news.css">
</head>

<body>
    <!-- nav -->
    <div class="global-nav"></div>
    <!-- /.nav -->

    <!-- bread -->
    <div class="bread">
        <div class="bread-in">
            <a href="/">首页</a>
            <span>&gt;</span>
            <a href="/news/newslist.html">新闻列表</a>
            <span>&gt;</span>
            <a href="javascript:;">新闻详情</a>
        </div>
    </div>
    <!-- bread -->

    <div class="newsdel-wrap">
        <!--  <h4 class="newsdel-tit">无锡银行中报点评：收缩同业结构优化，加强投资不良双降</h4>
            <div class="newsdel-cont">
                <img src="/assets/images/index/news-right.jpg" alt="">
                <p class="newsdel-del">
                无锡银行公布2017年半年报，2017年上半年实现营业收入13.9亿元（YoY12.9%），净利润5.2亿元.无锡银行公布2017年半年报，2017年上半
                </p>
                <p class="newsdel-tip">
                    <span class="hot">融资<i>融资</i></span>
                    <span>2017-09-18 15:24</span>
                </p>
            </div> -->
    </div>

    <!-- footer -->
    <div class="global-footer"></div>
    <!-- /.footer -->

    <script src="/assets/lib/jquery.min.js"></script>
    <script src="/assets/lib/bootstrap.min.js"></script>
    <script src="/assets/lib/select2.min.js"></script>
    <script src="/assets/lib/util.js"></script>
    <script src="/assets/js/global.js"></script>
    <!-- nav -->
    <script src="/assets/lib/js.cookie.js"></script>
    <script src="/assets/js/nav.js"></script>
    <script src="/assets/lib/headfooter.js"></script>
    <!-- nav end -->

    <script>
        var id = window.location.search.split("id=")[1];
        util.ajax({
            url: '/news/newsDetail?id=' + id,
            type: 'get',
            success: function (res) {
                console.log(res.data);
                var news = res.data;
                var h4 = $('<h4 class="newsdel-tit"></h4>').html(news.title).appendTo($('.newsdel-wrap'));
                var div = $('<div class="newsdel-cont"></div>').appendTo($('.newsdel-wrap'));
                var img = $('<img alt="">').appendTo(div).attr('src', news.image);
                var p1 = $('<p class="newsdel-del"></p>').html(news.content).appendTo(div);
                var divclear = $('<div style="clear:both"></div>').appendTo(div);
                var p2 = $('<p class="newsdel-tip"></p>').appendTo(div);
                if (news.hot == 0 && news.recommend == 0) {
                    var span1 = $('<span class="hot"></span>').appendTo(p2).html('热门' + '<i>&nbsp;&nbsp;推荐</i>');
                } else if (news.hot == 1 && news.recommend == 1) {
                    var span1 = $('<span class="hot"></span>').appendTo(p2).html();
                } else if (news.hot == 0 && news.recommend == 1) {
                    var span1 = $('<span class="hot"></span>').appendTo(p2).html('热门');
                } else if (news.hot == 1 && news.recommend == 0) {
                    var span1 = $('<span class="hot"></span>').appendTo(p2).html('<i>推荐</i>');
                } else if (news.hot == undefined && news.recommend == undefined) {
                    var span1 = $('<span class="hot"></span>').appendTo(p2).html();
                }

                var span2 = $('<span></span>').appendTo(p2).html(news.createTime);

            }
        })
    </script>
</body>

</html>